home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: actuary@nando.net (Bill McCarthy)
- Newsgroups: comp.lang.c
- Subject: Re: rand ?
- Date: 16 Mar 1996 19:52:18 GMT
- Organization: Nando.net Public Access
- Message-ID: <4if65i$d2h@castle.nando.net>
- References: <4idjt4$4du@itsop2.its.brooklyn.cuny.edu>
- Reply-To: actuary@nando.net (Bill McCarthy)
- NNTP-Posting-Host: grail1814.nando.net
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <4idjt4$4du@itsop2.its.brooklyn.cuny.edu>,
- dzielins@its.brooklyn.cuny.edu (Daniel Zielinski) writes:
-
- >I need to generate random numbers between 0 and 51, I tried rand() with srand(i)
- >i changes constantly but the program never exits. looks like the random number
- >is always the same. any help would be apriciated... thanss
-
- What didn't you understand about the explanation in the FAQ?
-
- Bill McCarthy
- actuary@nando.net
- Wendell, NC USA
-
-